package com.whfc.mach.dto.report;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 周报对象
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/11/30 14:45
 */
@Data
public class AppMachReportDTO implements Serializable {

    private Integer reportId;

    private Integer deptId;

    private String deptName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    @JsonFormat(pattern = "yyyy-MM")
    private Date month;

    /**
     * 周报内容
     */
    private String reportText;

    /**
     * 周报内容-JSON
     */
    private JSONObject report;

    /**
     * 周报内容数据
     */
    private MachReportDataDTO machReportDataDTO;
}
